/* VersusView.h
 * View that displays the available Ninjas and their characteristics
 *
 * Last Modified: 16.01.2014
 * Author: Guilherme S.G.
 */

#ifndef __JB_SELECTION_VIEW_H__
#define __JB_SELECTION_VIEW_H__

#include "Global.h"
#include "View.h"
#include "Ninja.h"

class SelectionView : public View
{
private:
    std::vector<ALLEGRO_BITMAP*> backgrounds;
    ALLEGRO_FONT *fontNJ;
    ALLEGRO_FONT *fontDescr;
    ALLEGRO_SAMPLE *bgMusic, *selectionFx;
    ALLEGRO_SAMPLE_ID bgMusicID;
    
    std::vector<Ninja*> ninjas;
    Sprite *selectionCursor;
    
    int selectionID;
    
public:
    SelectionView();
    ~SelectionView();
    
    void handleEvents(ALLEGRO_EVENT *event);
    void update();
    void render();
};

#endif
